package com.fyx.service;

import com.baomidou.mybatisplus.extension.service.IService;
import com.fyx.entity.SysDictDetail;
import com.fyx.entity.WechatInfo;
import com.fyx.entity.WxRequest;
import org.springframework.data.domain.Pageable;

import java.util.Map;

public interface IWeChatService  extends IService<SysDictDetail> {
    Map wxRequest(WxRequest wxRequest, Pageable pageable);

    void addWxRequest(WxRequest wxRequest);

    void updateWxRequest(WxRequest wxRequest);

    void deleteWxRequest(String[] ids);

    Map officialAccounts(WechatInfo wechatInfo, Pageable pageable);

    void addOfficialAccounts(WechatInfo wechatInfo);

    void updateOfficialAccounts(WechatInfo wechatInfo);

    void deleteOfficialAccounts(String[] ids);

    void insertWxUser(String unionid);
}
